A Formal Framework for Establishing Conformance between Object Models and Object-Oriented Programs
نویسندگان
چکیده
Conformance between structural models and their implementations is usually simplified in practice. This is not appropriate to accommodate the usual freedom of implementation for abstract concepts. In this paper, we propose a formal framework for defining conformance between object models and object-oriented programs. The framework is instantiated by providing syntactic mapping rules between model and program elements; from these rules, semantic conformance checking is enabled. The framework includes the notion of heaps of interest, which may remove unstable program execution states for a less strict conformance checking. We evaluate the framework in establishing a conformance notion for a model-driven approach for program refactoring. Resumo. Conformidade entre modelos estruturais e suas implementações é quase sempre direta e simplificada na prática. Este cenário não é apropriado para acomodar a liberdade usual de implementação para conceitos abstratos. Neste artigo, apresentamos um framework formal para definição de conformidade entre modelos de objetos e programas orientados a objetos. O framework é instanciado pelo fornecimento de regras de mapeamento sintático entre elementos do modelo e do programa; a partir destas regras, conformidade semântica pode ser verificada. Este framework inclui uma noção de heaps de interesse, que pode eliminar estados instáveis na execução de um programa possibilitando uma conformidade semântica menos restrita. O framework é avaliado em termos de uma noção de conformidade útil para uma abordagem de refatoramento de programas dirigida por modelos.
منابع مشابه
Modeling and Evaluation of Stochastic Discrete-Event Systems with RayLang Formalism
In recent years, formal methods have been used as an important tool for performance evaluation and verification of a wide range of systems. In the view points of engineers and practitioners, however, there are still some major difficulties in using formal methods. In this paper, we introduce a new formal modeling language to fill the gaps between object-oriented programming languages (OOPLs) us...
متن کاملModeling and Evaluation of Stochastic Discrete-Event Systems with RayLang Formalism
In recent years, formal methods have been used as an important tool for performance evaluation and verification of a wide range of systems. In the view points of engineers and practitioners, however, there are still some major difficulties in using formal methods. In this paper, we introduce a new formal modeling language to fill the gaps between object-oriented programming languages (OOPLs) us...
متن کاملA Multi-Formalism Modeling Framework: Formal Definitions, Model Composition and Solution Strategies
In this paper, we present a multi-formalism modeling framework (abbreviated by MFMF) for modeling and simulation. The proposed framework is defined based on the concepts of meta-models and uses object-orientation to overcome the complexities and to enhance the extensibility. The framework can be used as a basis for modeling by various formalisms and to support model composition in a unified man...
متن کاملA Multi-Formalism Modeling Framework: Formal Definitions, Model Composition and Solution Strategies
In this paper, we present a multi-formalism modeling framework (abbreviated by MFMF) for modeling and simulation. The proposed framework is defined based on the concepts of meta-models and uses object-orientation to overcome the complexities and to enhance the extensibility. The framework can be used as a basis for modeling by various formalisms and to support model composition in a unified man...
متن کاملVisualization of Object Oriented Architecture
We present architectural schemata, visual “roadmaps” that provide a lucid picture of the design of object oriented programs. Construed in a formal language, architectural schemata can contribute significantly to the comprehensibility of large systems and provide a rigorous framework to their analysis. We present LePUS, a formal language for the specification of object oriented architectures. We...
متن کامل